Repository navigation
发版:ModAVDManager 0.41.1 进 release/0.41(随 ModAVD 0.41.1) - #183
Merged
Merged
Conversation
0.41.0 候选的发版回归里,每次开机都只记到「读不到客体时钟源(…Permission denied…)」:SELinux 不让 adb shell 用户读 /sys/devices/system/clocksource/clocksource0/。改成和读内核日志一样用 su 0;读失败时记录里的 available 不再留报错文字。 Refs ModAVD/ModAVD#110
把 release/0.41 并回 main(0.12.0)
收集最后对每台连得上的实例读屏幕刷新率,用 SurfaceFlinger timestats 同时采样 10 秒,原始输出放 fps\,summary 每台一行写刷新率和主要图层的平均帧率、帧间隔中位和 95%。用户说卡时,能分清是屏幕刷新率没变还是游戏本身帧数低。 Refs ModAVD/ModAVD#180
7c 只改了 system_server 内存里的 app ops(约 30 分钟后才写盘),同一次开机的客体库补丁会重启 system_server,新建的实例从没存下来;第一次装 APK 时安装器把 default 改成 deny。有改动时跑 appops write-settings。 Refs ModAVD/ModAVD#218
- 带窗口开机时,补丁的 zygote 重启原来排在开机完成之后,桌面露出来又没了、十几秒后再回来。初始化过的实例现在在开机等待里 adb 一能用就挂(earlyGuestFixes),屏幕上还是开机动画;开机后的那一步只看到已挂上。新实例的第一次开机仍在开机后挂,但挪到开机后设置的第一步,之后的设置不用再补做(去掉 recheckHostIme 和重启后的方向设置)。 - 首次初始化卸载原生 Pixel 桌面后,系统要约 10 秒才写盘,原来 2 秒多以后就重启了 zygote,卸载丢了,1080p 上 Pixel 桌面画出任务栏。卸载后等写盘(pixelLauncherRemoveScript);之后每次开机发现它又在就再卸一次(ensurePixelLauncherRemoved)。 - 新建进度的计划跟着改:补丁排在每次开机后的第一步,冷启动只剩检查。 实机(flow-a,1080p):带窗口开机,zygote 在开机动画期间重启,start 合计 21–26 秒(原来约 40 秒);已中招的实例开一次机就卸掉 Pixel 桌面并写盘,下次不再出现;新建一台(带执行桥)首次初始化后 Pixel 桌面不在、没有任务栏。 Refs ModAVD/ModAVD#220 Refs ModAVD/ModAVD#221
默认仍是 6 GB。命令行、界面、MCP 都从 avd.MemoryChoicesMB 取档位;对照用的 instances_ref.py 同步加上。
* 星铁显示模式预设为 Vulkan:首次启动不再走 GLES 闪退 新装的崩坏:星穹铁道第一次启动自己选 OpenGL ES(files/vulkancaps.bin 写成 03),gfxstream 的 GLES 缺它要的功能,十几秒后闪退;换成 Vulkan 正常。实测首次启动前在 Android/data/<包名>/files 放好 customvulkancaps.bin 和 vulkancaps.bin(都是 0x01),游戏就走 Vulkan、两个文件保持 01;只放 vulkancaps.bin 会被游戏改回 03,只放 customvulkancaps.bin 仍走 GLES。 新客体脚本 modavd-vkmode.sh,照下载盘守护的做法:开机先过一遍,再后台每 3 秒看一遍,开机后才装的游戏在首次启动前也能处理到。名单 com.miHoYo.hkrpg、com.miHoYo.hkrpg.bilibili(B 服没实测)。对每个已安装、不在运行、files/customvulkancaps.bin 不存在的包:缺的目录按系统的建法补上(应用 uid、ext_data_rw、2770,标签取 Android/data 的),两个文件先写成临时名、设好属主和 660 再改名到位,customvulkancaps.bin 最后放,中途失败下一轮补;建出来属主设不上的目录当场删掉。customvulkancaps.bin 已在(游戏里选过,或者我们写过)就不动。 另起脚本而不是加进下载盘守护:下载盘有 MODAVD_DL_DISK=off 的关法、带锁和挂载逻辑,两件事分开互不影响。开机后设置加一步 12b,日志写「游戏显示模式预设」一行;和下载盘一样只在 Windows 上做、默认开。 Refs ModAVD/ModAVD#222 * 星铁显示模式预设:写完落盘,空文件不算选过,日志带文件当前值 两个文件都改名到位后跑一次 sync(只在真的写了的那一轮);判断「已选过」从 customvulkancaps.bin 存在改成存在且非空,硬杀留下的 0 字节残骸会被重写成 01。每次真的写了文件都记一行 logcat,备注已是 set to Vulkan 时(文件被改坏后补写)也记。 status 对已安装的包带上两个文件的当前值([custom=01 caps=01],不存在写 -,空文件写 empty),管理器开机日志那一行跟着带上。 单测:空 custom(caps 在 / 不在)重写;vulkancaps.bin 改名失败时不写 customvulkancaps.bin、下一轮补齐(钉住写入顺序);补写也有日志;sync 只在写成的那一轮跑。README 中英对齐:闪退时间统一为十几秒 / about fifteen seconds,游戏设置项不用自起的中文叫法。 Refs ModAVD/ModAVD#222
Adds the changelog.d entries for ModAVD#218, #220, #221 (ModAVDManager#177 and ModAVD#178 merged before changelog.d existed).
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
发版 ModAVDManager 0.41.1,随 ModAVD 0.41.1,进
release/0.41。release/0.41(main 的头 c99e567,带进 ModAVDManager#176、开机放开「安装未知应用」后立刻落盘 #177、开机过程中挂客体库补丁,开机后不再黑屏重来;Pixel 桌面的卸载等写盘、开机补卸 #178、加 changelog.d:用户看得见的改动在 PR 里带一行更新说明 #179、终末地的下载目录也放到下载盘上:下整包约 12 → 60 MiB/s #180、实例内存加 8 GB 一档 #181、星铁显示模式预设为 Vulkan:新装后首次启动不再闪退 #182)。并完以后树和 main 的头相同。internal/buildinfo/buildinfo.go的版本号(0.12.0 改 0.41.1);rsrc_windows_amd64.syso(go generate ./cmd/modavd-gui按新版本号重新生成);release/0.41.1.md、release/0.41.1.SHA256SUMS.txt;changelog.d机制还没有):changelog.d/218-apk-install.fix.md(Refs 新建的实例用 Chrome 装安装包仍提示不允许安装未知应用 / New instances still block APK installs from Chrome ModAVD#218)、changelog.d/220-boot-once.fix.md(Refs 开机时先进了桌面又黑屏重来一次,看着像开了两遍 ModAVD#220)、changelog.d/221-taskbar-1080p.fix.md(Refs 1080p 实例桌面底部多了一条任务栏(全部应用、Chrome 图标) ModAVD#221)。build.ps1、internal/tools/mkzip得到的;用两个全新的 GOCACHE 各编一遍,三个哈希逐个相同。go vet ./...、go test ./...通过。protocol没变(相对release/0.41当前头,buildinfo.go只改了版本号)。